package com.lt.schoolchat.model.dto.user;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户更新请求
 *
 * @author teng
 */
@Data
@ApiModel("用户更新请求体")
public class UserUpdateRequest implements Serializable {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户账号")
    private String userAccount;
    @ApiModelProperty("用户头像")
    private String userAvatar;
    @ApiModelProperty("用户性别")
    private Integer gender;
    @ApiModelProperty("用户角色: user, admin、ban")
    private String userRole;
    @ApiModelProperty("用户密码")
    private String userPassword;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
